package com.UnionPayCenter.mapper;

import com.UnionPayCenter.distribution.entity.SharePropDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SharePropDOMapper {
    int deleteByPrimaryKey(Integer propIdgen);

    int insert(SharePropDO record);

    int insertSelective(SharePropDO record);

    SharePropDO selectByPrimaryKey(Integer propIdgen);

    int updateByPrimaryKeySelective(SharePropDO record);

    int updateByPrimaryKey(SharePropDO record);

    SharePropDO selectByLvl(@Param("idgen") String Idgen, @Param("totalLvl") Integer totalLvl, @Param("lvl") Integer lvl);

    List<SharePropDO> listByTemplateId(@Param("idgen") String Idgen);
}